package com.beans;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

public class Examlist {
@TableId(type = IdType.AUTO)
Integer id;
String title;
Integer type;
String optiona;
String optionb;
String optionc;
String optiond;
//解析
String parse;
String answer;
Integer subjectid;
@TableField(exist = false)
String  subjectname;
@TableField(fill = FieldFill.INSERT)
Date updatetime;
@TableField(fill = FieldFill.INSERT_UPDATE)
Date createtime;
Integer scorce;
Integer difficulty;
public Integer getId() {
	return id;
}
public void setId(Integer id) {
	this.id = id;
}
public String getTitle() {
	return title;
}
public void setTitle(String title) {
	this.title = title;
}
public Integer getType() {
	return type;
}
public void setType(Integer type) {
	this.type = type;
}
public String getOptiona() {
	return optiona;
}
public void setOptiona(String optiona) {
	this.optiona = optiona;
}
public String getOptionb() {
	return optionb;
}
public void setOptionb(String optionb) {
	this.optionb = optionb;
}
public String getOptionc() {
	return optionc;
}
public void setOptionc(String optionc) {
	this.optionc = optionc;
}
public String getOptiond() {
	return optiond;
}
public void setOptiond(String optiond) {
	this.optiond = optiond;
}
public String getParse() {
	return parse;
}
public void setParse(String parse) {
	this.parse = parse;
}
public String getAnswer() {
	return answer;
}
public void setAnswer(String answer) {
	this.answer = answer;
}
public Integer getSubjectid() {
	return subjectid;
}
public void setSubjectid(Integer subjectid) {
	this.subjectid = subjectid;
}
public String getSubjectname() {
	return subjectname;
}
public void setSubjectname(String subjectname) {
	this.subjectname = subjectname;
}
public Date getUpdatetime() {
	return updatetime;
}
public void setUpdatetime(Date updatetime) {
	this.updatetime = updatetime;
}
public Date getCreatetime() {
	return createtime;
}
public void setCreatetime(Date createtime) {
	this.createtime = createtime;
}
public Integer getScorce() {
	return scorce;
}
public void setScorce(Integer scorce) {
	this.scorce = scorce;
}
public Integer getDifficulty() {
	return difficulty;
}
public void setDifficulty(Integer difficulty) {
	this.difficulty = difficulty;
}
@Override
public String toString() {
	return "Examlist [id=" + id + ", title=" + title + ", type=" + type + ", optiona=" + optiona + ", optionb="
			+ optionb + ", optionc=" + optionc + ", optiond=" + optiond + ", parse=" + parse + ", answer=" + answer
			+ ", subjectid=" + subjectid + ", subjectname=" + subjectname + ", updatetime=" + updatetime
			+ ", createtime=" + createtime + ", scorce=" + scorce + ", difficulty=" + difficulty + "]";
}
public Examlist(Integer id, String title, Integer type, String optiona, String optionb, String optionc, String optiond,
		String parse, String answer, Integer subjectid, String subjectname, Date updatetime, Date createtime,
		Integer scorce, Integer difficulty) {
	super();
	this.id = id;
	this.title = title;
	this.type = type;
	this.optiona = optiona;
	this.optionb = optionb;
	this.optionc = optionc;
	this.optiond = optiond;
	this.parse = parse;
	this.answer = answer;
	this.subjectid = subjectid;
	this.subjectname = subjectname;
	this.updatetime = updatetime;
	this.createtime = createtime;
	this.scorce = scorce;
	this.difficulty = difficulty;
}
public Examlist() {
	super();
}


}
